package com.liting.uitest.model;

import lombok.Data;

@Data
public class GrayImagePixel {
    private int x;
    private int y;
    private int grayValue;

    public GrayImagePixel(int x, int y, int grayValue) {
        this.x = x;
        this.y = y;
        this.grayValue = grayValue;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer("coord ").append(this.x).append(",").append(this.y)
                .append("; grayValue is ").append(this.grayValue);

        return buffer.toString();
    }
}
